package com.coderman.infosys.auth.infrast.acl.convert;

import java.util.List;
import com.coderman.infosys.auth.infrast.acl.res.dto.DepartDTO;

import com.coderman.infosys.user.api.dto.response.DepartmentDTO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

/**
* @Description:接口
* @Author:
* @CreateTime:2022-01-02 15:27:40
* @version v1.0
*/
@Mapper
public interface DepartmentConvertor{
	DepartmentConvertor INSTANCE = Mappers.getMapper(DepartmentConvertor.class);

	/**
	 *
	 * @Description:
	 * @return com.coderman.infosys.user.api.dto.request.DepartmentQueryDTO
	 */
	 com.coderman.infosys.user.api.dto.request.DepartmentQueryDTO departmentReqConvert(com.coderman.infosys.auth.infrast.acl.req.dto.DepartmentQueryDTO queryDto);
	/**
	 *
	 * @Description:
	 * @return List<DepartDTO>
	 */
	 List<DepartDTO> AllDepartmentResConvert(List<DepartmentDTO> departmentDTOList);

	DepartDTO departResConvert(DepartmentDTO departmentDTO);


}